using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace FreeSqlLearn {

	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class xw_rsda {

		[JsonProperty, Column(IsPrimary = true)]
		public Guid id { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string appcoachPass { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string appCoachPic { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string appcoachUser { get; set; }

		[JsonProperty, Column(StringLength = 100)]
		public string AppId { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string chehao { get; set; }

		/// <summary>
		/// 所分配车辆id
		/// </summary>
		[JsonProperty]
		public Guid? clid { get; set; }

		[JsonProperty]
		public int? coachstar { get; set; }

		[JsonProperty]
		public DateTime? csrq { get; set; }

		/// <summary>
		/// 教练从业日期，显示教龄用，不是教练不用填
		/// </summary>
		[JsonProperty]
		public DateTime? cyrq { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string dangtuan { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string dz { get; set; }

		[JsonProperty, Column(StringLength = 650)]
		public string edityy { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string jg { get; set; }

		[JsonProperty, Column(StringLength = 500)]
		public string jianli { get; set; }

		[JsonProperty]
		public Guid JxCode { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string keshi { get; set; }

		[JsonProperty, Column(DbType = "char(1)")]
		public string kqzt { get; set; }

		[JsonProperty]
		public Guid? ksid { get; set; }

		[JsonProperty]
		public int? ksorder { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string ksqh { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string lxdh { get; set; }

		[JsonProperty, Column(StringLength = 350)]
		public string lzbz { get; set; }

		[JsonProperty]
		public DateTime? lzsj { get; set; }

		[JsonProperty, Column(StringLength = 350)]
		public string lzyy { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string mz { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string name { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string pic { get; set; }

		[JsonProperty, Column(StringLength = 80)]
		public string Pinyin { get; set; }

		[JsonProperty]
		public DateTime? rq { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string rybianhao { get; set; }

		/// <summary>
		/// 人员类型  0非教练，1 普通教练 ，2 计时班教练 ,3复训班教练
		/// </summary>
		[JsonProperty]
		public int? rylx { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string sfzh { get; set; }

		[JsonProperty, Column(StringLength = 500)]
		public string sgqk { get; set; }

		/// <summary>
		/// 教练所教车型 统一格式为 大写+数字 如：C1
		/// </summary>
		[JsonProperty, Column(StringLength = 50)]
		public string sjcx { get; set; }

		/// <summary>
		/// 教练员所属科目 1 科目二三，2科目二，3科目三
		/// </summary>
		[JsonProperty]
		public int? sskm { get; set; }

		[JsonProperty, Column(DbType = "varchar(150)")]
		public string Token { get; set; }

		[JsonProperty]
		public DateTime? TokenAddDate { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string xb { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string xiaoqu { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string xueli { get; set; }

		/// <summary>
		/// 员工状态 在职  离职
		/// </summary>
		[JsonProperty, Column(StringLength = 50)]
		public string ygzt { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string zhiwu { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string zuoji { get; set; }

	}

}
